﻿<Window x:Class="WPF.RoutingEvents.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:z="clr-namespace:WPF.RoutingEvents.Properties"
        xmlns:y="clr-namespace:WPF.RoutingEvents"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <!--<RadioButton Height="30" Width="30" Name="rdBtn1"/>
        <RadioButton Height="30" Width="30" Name="rdBtn2"/>
        <RadioButton Height="30" Width="30" Name="rdBtn3"/>
        <TextBox Width="50" Height="50" Name="btn1" TextChanged="btn1_TextChanged_1"/>

        <Button Width="100" Height="100" Background="Aquamarine">
            <Button.Template>
                <ControlTemplate TargetType="Button">
                    <Grid>
                        <Rectangle Fill="{TemplateBinding Background}" RadiusX="10" RadiusY="10"/>
                        <ContentPresenter RecognizesAccessKey="True" Content="{TemplateBinding Content}" 
                                          HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" 
                                          VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Grid>
                </ControlTemplate>
            </Button.Template>
            _Click Me!
        </Button>
        <Label Width="90" Height="10" Target="{Binding ElementName=btnMy}" VerticalAlignment="Top" Margin="98,10,329,0" Foreground="Black" Background="Azure" FontStyle="Normal">_Name</Label>
        <Button x:Name="btnMy" Height="20" Width="20" VerticalAlignment="Top"></Button>-->
        <Border Margin="10" BorderBrush="Bisque" BorderThickness="10" Padding="15" CornerRadius="15" x:Name="myBorder" Background="AliceBlue">
            <StackPanel x:Name="myPanel" Background="Transparent">
                <Ellipse x:Name="myEllipse" Margin="10" Fill="Green" Height="40"/>
                <Rectangle x:Name="myRectangle" Margin="10" Fill="BlanchedAlmond" Height="40" RadiusX="10" RadiusY="10"></Rectangle>
            </StackPanel>
        </Border>

        <Button Height="30" Margin="46,248,419,41" Command="ApplicationCommands.Copy" x:Name="btnCopy">_Copy</Button>
        <Button Height="30" Margin="176,248,286,41" Command="ApplicationCommands.Paste" x:Name="btnPaste">_Paste</Button>
        <TextBox Margin="258,255,142,43">Ahmetin sevglisi var</TextBox>
    </Grid>
</Window>
